package com.jianbing.north.mapper;

import java.util.List;
import com.jianbing.north.domain.NorthDayPlan;

/**
 * 每天能够解锁的partMapper接口
 * 
 * @author ruoyi
 * @date 2024-06-20
 */
public interface NorthDayPlanMapper 
{
    /**
     * 查询每天能够解锁的part
     * 
     * @param id 每天能够解锁的part主键
     * @return 每天能够解锁的part
     */
    public NorthDayPlan selectNorthDayPlanById(Long id);

    /**
     * 查询每天能够解锁的part列表
     * 
     * @param northDayPlan 每天能够解锁的part
     * @return 每天能够解锁的part集合
     */
    public List<NorthDayPlan> selectNorthDayPlanList(NorthDayPlan northDayPlan);

    /**
     * 新增每天能够解锁的part
     * 
     * @param northDayPlan 每天能够解锁的part
     * @return 结果
     */
    public int insertNorthDayPlan(NorthDayPlan northDayPlan);

    /**
     * 修改每天能够解锁的part
     * 
     * @param northDayPlan 每天能够解锁的part
     * @return 结果
     */
    public int updateNorthDayPlan(NorthDayPlan northDayPlan);

    /**
     * 删除每天能够解锁的part
     * 
     * @param id 每天能够解锁的part主键
     * @return 结果
     */
    public int deleteNorthDayPlanById(Long id);

    /**
     * 批量删除每天能够解锁的part
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNorthDayPlanByIds(Long[] ids);

    public int getMaxDay();
}
